package com.hogan.basiclibrary.base.baseApi.protocol;

/**
 * Created by chenhu on 2017/11/15.
 * 通用的结果，没作任何判断
 */

public class CommonProtocol<T> implements BaseProtocol<T> {

    private T result;

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    @Override

    public Object startProtocol() {
        return getResult();
    }
}
